package com.elric.mall.common.domain;

import org.apache.poi.ss.usermodel.FillPatternType;
import org.apache.poi.ss.usermodel.HorizontalAlignment;
import org.apache.poi.xssf.usermodel.XSSFColor;

/**
 * 实现功能：
 *
 * @author 作者[Yuxuan.he]
 * @version 1.0.00  2021-11-10 15:40
 */
public class ExcelStyle {

    /**
     * 背景图片色
     */
    private XSSFColor fillForegroundColor;

    /**
     * 背景图片类型
     */
    private FillPatternType fillPattern;

    /**
     * 字号
     */
    private short fontSize;

    /**
     * 行高
     */
    private short cellHeight;

    /**
     * 水平对其格式
     */
    private HorizontalAlignment alignment;

    /**
     * 是否有边框
     */
    private boolean border;

    /**
     * 字体名称
     */
    private String fontName;

    public XSSFColor getFillForegroundColor() {
        return fillForegroundColor;
    }

    public void setFillForegroundColor(XSSFColor fillForegroundColor) {
        this.fillForegroundColor = fillForegroundColor;
    }

    public FillPatternType getFillPattern() {
        return fillPattern;
    }

    public void setFillPattern(FillPatternType fillPattern) {
        this.fillPattern = fillPattern;
    }

    public short getFontSize() {
        return fontSize;
    }

    public void setFontSize(short fontSize) {
        this.fontSize = fontSize;
    }

    public short getCellHeight() {
        return cellHeight;
    }

    public void setCellHeight(short cellHeight) {
        this.cellHeight = cellHeight;
    }

    public HorizontalAlignment getAlignment() {
        return alignment;
    }

    public void setAlignment(HorizontalAlignment alignment) {
        this.alignment = alignment;
    }

    public boolean isBorder() {
        return border;
    }

    public void setBorder(boolean border) {
        this.border = border;
    }

    public String getFontName() {
        return fontName;
    }

    public void setFontName(String fontName) {
        this.fontName = fontName;
    }
}
